package two.chapter_1.c1_4;

import edu.princeton.cs.algs4.StdOut;
import edu.princeton.cs.algs4.StdRandom;
import two.chapter_1.c1_2.StaticSETofInts;

import java.util.Arrays;

public class Ex1_4_11 {


    public static void main(String [] args){

        int a[]={2,2,1,1,3,5,2,2,2,8};
        StaticSETofInts set=new StaticSETofInts(a);
        StdOut.println(set.howMany(2));


    }
}
